import dayjs from 'dayjs'

export function iso8061DatetimeStrFormat(iso8061DatetimeStr: string, format = 'YYYY-MM-DD HH:mm:ss') {
  return dayjs(new Date(iso8061DatetimeStr)).format(format)
}
